(function () {

    // define app factory
    packager('app');

    app = new function () {

        var exports = {};

        // init app
        exports.init = function () {

            // config app
            exports.config.init();
            exports.components.table.init();
            exports.components.form.init();
            exports.components.sidebar.init();
        };

        // app config
        exports.config = {};

        // app components
        exports.components = {};

        // app modules
        exports.modules = {};

        // app global functions
        exports.utils = {};

        return exports;
    };


})();